home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 225 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1014 b 

  1. Date: 2 Jan 1996 14:25:14 EST
  2. Path: gcomm.com!loople
  3. Newsgroups: comp.lang.c
  4. From: loople@gcomm.com (Mike Lopier)
  5. Message-ID: <8206107149101@demosys.gcomm.com>
  6. Organization: Galacticomm, Inc.
  7. Subject: I need help with a compiler
  8.  
  9.  
  10. I am trying to *learn* C so i bought 2 books, 1 for learning C and
  11. another to move from C to C++, one of them came with a compiler called
  12. GNU but I write a simple program like:
  13.  
  14. #include <iostream.h>
  15. main ()
  16. {
  17. cout "Hello";
  18. }
  19.  
  20.  
  21. And when i tried to compile it I get a Iostream.h -- file not found
  22.  
  23. Well i've copied the .cpp, the iostream.h, and teh compiler all into the
  24. same directory and it still gave me that error. I've even put it in the
  25. path but still it keeps saying 'file not found'...There are no options
  26. for 'path of header files' or something...it is a command line
  27. compiler..So i am thouroughly confused and frustrated. If anyone out
  28. there knows why even though i know that i didn't give you enough info
  29. that's all i can come up with and I have no idea why it won't work.
  30.